class A:
    def test(self):
        print("1")
    

class B:
    def demo(self):
        print("2")


class C(A,B):
    pass


c = C()
c.test()
c.demo()